﻿using System.Collections.Generic;
using System.Xml.Serialization;

namespace SverigesRadio.SverigesRadioApp.Business.Model
{
    public class ProgramCategory
    {
        [XmlElement("id")]
        public string Id { get; set; }

        [XmlElement("title")]
        public string Title { get; set; }

        [XmlElement("link")]
        public string Link { get; set; }

        public override string ToString()
        {
            return Title;
        }

        public List<Program> Programs { get; set; }
        
    }
}